package atguigu.crowd.constant;


/**
 * 声明一个类管理常量
 */
public class CrowdConstant {

    public static final String MESSAGE_LOGIN_ACCT_ALREADY_IN_USE = "抱歉！这个账号已经被使用了";
    public static final String MESSAGE_LOGIN_FAILED = "抱歉！账号密码错误！请重新输入！";
    public static final String MESSAGE_ACCESS_FORBIDDEN = "请登录后再访问！";
    public static final String MESSAGE_STRING_INVALIDATE = "字符串不合法！请不要传入空字符串！";
    public static final String MESSAGE_SYSTEM_ERROR_LOGIN_NOT_UNIQUE = "系统错误：登录不唯一！";
    public static final String MESSAGE_ACCESS_DENIED = "抱歉，您不能访问这个资源";
    public static final String MESSAGE_CODE_INVALID = "验证码不相等！";
    public static final String MESSAGE_TELEPHONE_REPEAT = "该手机号已经注册过了";
    public static final String MESSAGE_CODE_FAILED = "获取验证码出错，请重试！";
    public static final String MESSAGE_HEADER_PIC_UPLOAD_FAILED = "头图上传失败！";
    public static final String MESSAGE_DETAIL_PIC_EMPTY = "上传为空！";
    public static final String MESSAGE_HEADER_PIC_EMPTY = "头图不可为空！";
    public static final String MESSAGE_DETAIL_PIC_UPLOAD_FAILED = "详图上传失败！";


    public static final String ATTR_NAME_LOGIN_MEMBER = "loginMember";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String ATTR_NAME_MESSAGE = "message";
    public static final String ATTR_REGISTER_CODE = "REGISTER_CODE_";
    public static final String ATTR_SESSION_MESSAGE = "username";
    public static final String ATTR_NAME_TEMPLE_PROJECT = "tempProject";
    public static final String MESSAGE_TEMPLE_PROJECT_MISSING = "临时存储的project对象丢失！";
    public static final String ATTR_NAME_PORTAL_DATA = "portal_data";

}
